<!--
 * @Author: yhlz-${username}
 * @Date: 2022-02-06 17:12:22
 * @LastEditTime: 2022-02-28 21:28:36
 * @LastEditors: yhlz-${username}
 * yhlz.com
-->
<template>
  <el-menu :collapse="collapse" default-active="2" class="el-menu-vertical-demo">
    <el-menu-item index="1">
      <el-icon><el-icon-menu /></el-icon>
      <span>首页</span>
    </el-menu-item>
    <el-menu-item index="2">
      <el-icon><el-icon-menu /></el-icon>
      <span>图标选择器</span>
    </el-menu-item>
  </el-menu>
</template>

<script lang="ts" setup>
let navSideProps = defineProps<{
  collapse: boolean;
}>();
</script>

<style scoped>
.el-menu-vertical-demo:not(.el-menu--collapse) {
  width: 200px;
  min-height: 400px;
}
</style>
